package com.chat.exception;


import com.chat.enums.ChatExceptionEnum;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ChatException extends RuntimeException {

    private ChatExceptionEnum e;

    public ChatException(ChatExceptionEnum e) {
        this.e = e;
    }

    @Override
    public Throwable fillInStackTrace() {
        return this;
    }
}
